//
//  CONSTS.h
//  Yopark
//
//  Created by 王家骏 on 14-10-15.
//  Copyright (c) 2014年 developer. All rights reserved.
//







//客服电话
#define kCustomerServicePhoneNumber @"400-662-9898"

//图片url
#define kImageURL @"http://117.79.235.70:8033/room/"


#pragma mark - 接口宏定义

/*
 返回结果状态码及说明:
 
 1001	正常
 1002	缺少参数
 1003	数据格式错误
 1004	无权限
 1005	找不到记录
 1006	服务器内部错误
 1007	Token错误
 1008	请求接口错误
 1009	数据库错误

 */

//正式接口用http://api.yopark.com  替换http://58.135.83.226:8088

#define kRequestUrl @"http://api.yopark.com/v1"   //v1代表版本

//城市列表接口
//#define kGetCityList @"http://api.yopark.com/v1/location/getCityList"
#define kGetCityList @"http://58.135.83.226:8088/index.php/v1/location/getCityList"

//城市行政区列表接口
//#define kGetDistrictList @"http://api.yopark.com/v1/location/getDistrictList"
#define kGetDistrictList @"http://58.135.83.226:8088/index.php/v1/location/getDistrictList"

//城市商圈列表接口
//#define kGetLandMarkList @"http://api.yopark.com/v1/location/getLandMarkList"
#define kGetLandMarkList @"http://58.135.83.226:8088/index.php/v1/location/getLandMarkList"

//根据行政区ID获取小区列表接口
//#define kGetCommunityList @"http://api.yopark.com/v1/location/getCommunityList"
#define kGetCommunityList @"http://58.135.83.226:8088/index.php/v1/location/getCommunityList"

//根据搜索条件获取房源列表接口
#define kGetHouseList @"http://api.yopark.com/v2/house/getHouseList"

//根据城市获取区域地标房源统计列表
#define kGetLandMarkHouseCount @"http://api.yopark.com/v2/house/getLandMarkHouseCount"

//获取指定小区的地图信息列表
#define kGetCommunityLocationDetailList  @"http://api.yopark.com/v2/house/getEstateHouse"

//获取所有小区地图信息
#define kGetAllCommunityLocationList  @"http://api.yopark.com/v2/house/getEstateList"

//根据房源ID获取附近房源列表接口
//#define kGetNearHouseList @"http://api.yopark.com/v1/house/getNearHouseList"
#define kGetNearHouseList @"http://58.135.83.226:8088/index.php/v1/house/getNearHouseList"

//根据房源ID获得房源详情接口
#define kGetHouseDetail @"http://api.yopark.com/v2/house/getHouseDetail"
//#define kGetHouseDetail @"http://58.135.83.226:8088/index.php/v2/house/getHouseDetail"

//根据房源ID获取房源服务列表接口
//#define kGetHouseServiceList @"http://api.yopark.com/v1/house/getHouseServiceList"
#define kGetHouseServiceList @"http://58.135.83.226:8088/index.php/v1/house/getHouseServiceList"

//根据房源ID获取评论列表接口
//#define kGetHouseCommentList @"http://api.yopark.com/v1/house/getHouseCommentList"
#define kGetHouseCommentList @"http://58.135.83.226:8088/index.php/v1/house/getHouseCommentList"

//根据房源ID获取房源图片列表接口
//#define kGetHouseImgList @"http://api.yopark.com/v1/house/getHouseImgList"
#define kGetHouseImgList @"http://58.135.83.226:8088/index.php/v1/house/getHouseImgList"

//获取图片类型列表接口
//#define kGetImgTypeList @"http://api.yopark.com/v1/house/getImgTypeList"
#define kGetImgTypeList @"http://58.135.83.226:8088/index.php/v1/house/getImgTypeList"

//根据小区ID获取小区详情接口
//#define kGetCommunityDetail @"http://api.yopark.com/v1/location/getCommunityDetail"
#define kGetCommunityDetail @"http://58.135.83.226:8088/index.php/v1/location/getCommunityDetail"

//预约看房提交接口
//#define kAppointment @"http://api.yopark.com/v1/order/appointment"
#define kAppointment @"http://58.135.83.226:8088/index.php/v1/order/appointment"

//首页热门房源列表
//#define kGetHotHouseList @"http://api.yopark.com/v1/house/getHotHouseList"
#define kGetHotHouseList @"http://58.135.83.226:8088/index.php/v1/house/getHotHouseList"


//用户请求下发验证码接口
//#define kSendCode @"http://api.yopark.com/v1/user/sendCode"
#define kSendCode @"http://58.135.83.226:8088/index.php/v1/user/sendCode"

//用户提交注册接口
//#define kRegister @"http://api.yopark.com/v1/user/register"
#define kRegister @"http://58.135.83.226:8088/index.php/v1/user/register"

//用户登录接口
//#define kLogin @"http://api.yopark.com/v1/user/login"
#define kLogin @"http://58.135.83.226:8088/index.php/v1/user/login"

//修改密码接口
//#define kModifyPassword @"http://api.yopark.com/v1/user/modifyPassword"
#define kModifyPassword @"http://58.135.83.226:8088/index.php/v1/user/modifyPassword"

//修改个人资料接口
//#define kModifyPersonal @"http://api.yopark.com/v1/user/modifyPersonal"
#define kModifyPersonal @"http://58.135.83.226:8088/index.php/v1/user/modifyPersonal"

//用户登出接口
//#define kLogout @"http://api.yopark.com/v1/user/logout"
#define kLogout @"http://58.135.83.226:8088/index.php/v1/user/logout"

//重设密码接口
//#define kResetPassword @"http://api.yopark.com/v1/user/resetPassword"
#define kResetPassword @"http://58.135.83.226:8088/index.php/v1/user/resetPassword"

//我的订单接口
//#define kGetOrderList @"http://api.yopark.com/v1/order/getOrderList"
#define kGetOrderList @"http://58.135.83.226:8088/index.php/v1/order/getOrderList"

//我的约看清单接口
//#define kGetMyAppointMentList @"http://api.yopark.com/v1/order/getMyAppointMentList"
#define kGetMyAppointMentList @"http://58.135.83.226:8088/index.php/v1/order/getMyAppointMentList"

//获取订单状态说明列表接口
//#define kGetOrderStateList @"http://api.yopark.com/v1/order/getOrderStateList"
#define kGetOrderStateList @"http://58.135.83.226:8088/index.php/v1/order/getOrderStateList"

//我的抵用劵接口
#define kGetCouponList @"http://api.yopark.com/v1/user/getCouponList"

//抵用劵使用明细列表
#define kGetCouponUsedList @"http://api.yopark.com/v1/user/getCouponUsedList"

//我的个人信息接口
//#define kGetPersonal @"http://api.yopark.com/v1/user/getPersonal"
#define kGetPersonal @"http://58.135.83.226:8088/index.php/v1/user/getPersonal"

//设置个人头像
#define kSetHeadImage @"http://api.yopark.com/v1/user/setHeadImage"

//房源预订接口
//#define kHouseBooking @"http://api.yopark.com/v1/order/houseBooking"
#define kHouseBooking @"http://58.135.83.226:8088/index.php/v1/order/houseBooking"

//获取租约列表接口
#define kGetLeaseList @"http://58.135.83.226:8088/index.php/v1/lease/getList"

//获取yopark租约列表接口
#define kGetYoparkLeaseList @"http://58.135.83.226:8088/index.php/v1/lease/getListYopark"

//获取非Yopark租约详情接口
#define kGetThirdLeaseListDetail @"http://58.135.83.226:8088/index.php/v1/lease/getDetail"

//获取Yopark租约详情接口
#define kGetYoparkLeaseListDetail @"http://58.135.83.226:8088/index.php/v1/lease/getDetailYopark"

//Yopark支付订单接口
#define kGetLeaseYoparkPayOrder @"http://58.135.83.226:8088/index.php/v1/lease/getPayOrderYopark"

//非Yopark支付订单接口
#define kGetLeaseThirdPayOrder @"http://58.135.83.226:8088/index.php/v1/lease/payOrder"

//订单辅助接口
#define kGetLeaseAssistPayOrder @"http://58.135.83.226:8088/index.php/v1/order/payment"

//版本更新接口
#define kCheckVersion @"http://api.yopark.com/v1/system/checkVersion"

//------------------------appstore------------------
#define kAppStore @"http://itunes.apple.com/lookup"

